﻿
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using KDS.Mes.Mes.Plans;

namespace KDS.Mes.Mes.Plans.Dtos
{
    /// <summary>
    /// 计划信息编辑用Dto
    /// </summary>
    [AutoMap(typeof(Plan))]
    public class PlanEditDto 
    {

	/// <summary>
    ///   主键Id
    /// </summary>
    [DisplayName("主键Id")]
	public int? Id{get;set;}

        /// <summary>
        /// 所属线体
        /// </summary>
        [DisplayName("所属线体")]
        [Required]
        public   int  LineId { get; set; }

        /// <summary>
        /// 所属ALCCode
        /// </summary>
        [DisplayName("所属ALCCode")]
        [Required]
        public   int  AlcCodeId { get; set; }

        /// <summary>
        /// 所属计划模式
        /// </summary>
        [DisplayName("所属计划模式")]
        [Required]
        public   int  PlanModeId { get; set; }

        /// <summary>
        /// 优先级
        /// </summary>
        [DisplayName("优先级")]
        [Required]
        public   int  Priority { get; set; }

        [DisplayName("优先级")]
        public string AfterSalePart { get; set; }

        /// <summary>
        /// 计划数量(套)
        /// </summary>
        [DisplayName("优先级")]
        public string Remarks { get; set; }

        /// <summary>
        /// 计划数量(套)
        /// </summary>
        [DisplayName("计划数量(套)")]
        [Required]
        public   int  PlanQty { get; set; }

        /// <summary>
        /// 计划日期
        /// </summary>
        [DisplayName("计划日期")]
        [Required]
        public   DateTime  PlanDate { get; set; }

    }
}
